package tech.yqyl.halo;

import tech.yqyl.YamlUtils;

/**
 * @className: GenerateSoloMarkdown
 * @description:
 * @author: caoyangjie
 * @date: 2024/8/31
 **/
public class HaloMarkdownBoot {
    public static TokenInfo server = new TokenInfo() {
        @Override
        public String getToken() {
//            return "b6d4611a-ce53-4bf4-8f45-1233f827582c";
            return YamlUtils.getConfig().getHalo().getToken();
        }

        @Override
        public String getCookie() {
//            return "device_id=c1bc1514256e4172aa6524cbdd93653a; XSRF-TOKEN=b6d4611a-ce53-4bf4-8f45-1233f827582c; remember-me=S1ptQ3VhTzJiQ3Y0MnFNZWhTTWFSQSUzRCUzRDpuRnI1UyUyQnhBTlpnSzk5T01OdFFpb1ElM0QlM0Q; SESSION=77b5cba0-a0d9-4cf1-989e-469cd5623c83";
            return YamlUtils.getConfig().getHalo().getCookie();
        }

        @Override
        public String getDomain() {
//            return "http://www.yqyl.tech";
            return YamlUtils.getConfig().getHalo().getDomain();
        }
    };

}
